package com.lovo.csc.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.bouncycastle.cms.PasswordRecipientId;

/**
 * 投标书表
 */
@Getter
@Setter
@NoArgsConstructor
@TableName("tender_vendor")
public class TenderVendorBean {
    @TableId(value = "pk_tenderVendorId",type = IdType.AUTO)
    private long tenderVendorId;

    @TableField("fk_vendorId")
    private long vendorId;

    @TableField("fk_tenderIdNum")
    private String tenderIdNum;

    @TableField("tv_totalPrice")
    private float totalPrice;

    @TableField("tv_status")
    @ApiModelProperty(value = "中标状态 0--待处理  1---已中标  2---未中标")
    private int status;

    @TableField("tv_idNum")
    private String idNum;

    /**
     * 投标书内容资源路径
     */
    @TableField("tv_src")
    private String src;
    /**
     * 供应商对象
     */
    @TableField(exist = false)
    private VendorBean vendor;
}
